package cn.ac.sec.nlp.index;

import com.jfinal.core.Controller;

/**
 * IndexController
 */
public class IndexController extends Controller {
	
	/**
	 * 注销或登录
	 * session.removeAttribute("login_user"); // 注销操作
	 */
	public void index() {
		render("/index/index.html");
	}
	
	public void segmentation() {
		render("/index/segmentation.html");
	}
	
	public void entity(){
		render("/index/entity.html");
	}
	
	public void nlp(){
		render("/index/nlp.html");
	}
	
	/**
	 * 首页
	 */
	public void homePage() {
		render("/index/index.html");
	}
	
	/**
	 * 显示日历
	 */
	public void calendar() {
		render("/index/calendar.html"); 
	}
}